row = 0

while row < 9:
    row += 1
    col = 0
    while col < row:
        col += 1
        # print("*", end = "")
        print("%d * %d = %d" % (col,row,col * row), end = "\t")
    print("")
